package com.farm.kaiping.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.farm.kaiping.entity.SysRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import java.util.List;

/**
 * 系统角色表(SysRole)表数据库访问层
 *
 * @author zhuhui
 * @since 2024-11-26 23:18:24
 */
@Mapper
public interface SysRoleMapper extends BaseMapper<SysRole> {

    @Select("SELECT ${ew.sqlSelect} FROM sys_role ${ew.customSqlSegment}")
    List<SysRole> selectExportList(@Param(Constants.WRAPPER) Wrapper wrapper);

}

